/* 
    Created on : Sep 25, 2014, 8:52:34 PM
    Author     : DucTuan
*/
@charset "UTF-8";
@font-face{
    src: url("../fonts/Roboto-Regular.ttf");
    font-family: 'Roboto';
}


@font-face {
    src: url("../fonts/Proxima Nova Bold.otf");
    font-family: 'ProximaBold';
}
@font-face{
    src: url("../fonts/UVF ProximaNova-Regular.ttf");
    font-family: 'ProximaRegular';
}

@font-face {
    src: url("../fonts/UTM Avo.ttf");
    font-family: 'UTMAvo';
}
@font-face {
    src: url("../fonts/UTM AvoBold.ttf");
    font-family: 'UTMAvoBold';
}

@import 'reset';
@import 'font-awesome';
@import 'vars';
@import 'animated';
@import 'ui';
@import 'toast';
@import url('idangerous.swiper.css');

html, body{
    font-size: 13px;
    height: 100%;
    overflow: hidden;
    color: #333;
    font-family: $base_font;
}

#UI_Page {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 9;
    @include transition(.5s);
    box-shadow: 8px -3px 16px rgba(0, 0, 0, 0.5);

}
.push_right{
    -webkit-transform:translate3d(-270px, 0, 0);
    -webkit-transition:.5s;
    -ms-transform:translate3d(-270px, 0, 0);
    -ms-transition:.5s;
    transform:translate3d(-270px, 0, 0);
    transition:.5s;
}
.layout_disabled:after{
    content: " ";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}
.page_item{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    @include translate3d(-100%, 0px, 0px);

    overflow: hidden;

    background-size: cover!important;
    background-position: top center;
    background-repeat: no-repeat;
}
.page_active {
    @include translate3d(0px, 0px, 0px);
}


@import 'page';
@import 'form';
@import 'popup';
@import 'dialog';

.Slide{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 999999;
    //background-color: #eee;


    .banner{
        background-size:99px;
        background-repeat: no-repeat;
        background-position: center center!important;
        background-color: #eee!important;
        background-image: url('../images/default.png');
        height: 100%;
    }
    div{
        height: 100%;
    }
    .swiper-slide{
        position: relative;
    }
    .swiper-slide:first-child,.swiper-slide:last-child{
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.8);
    }

    .logo{
        position: absolute;
        top: 22px;
        left: 0px;
        right: 0px;
        margin: auto;
        width: 69px;
        height: 22px;
        background-size: 100% 100% !important;
    }
}
.join{
    position: absolute;
    bottom: 40px;
    left: 0px;
    right: 0px;
    margin: auto;
    display: block;
    background: #fff;
    color: #333;
    border: none;
    line-height: 34px;
    width: 147px;
    height:34px;
    font-family:$base_font;
    font-weight:bold;
    box-shadow:0px 0px 2px rgba(0,0,0,.5);
    span{

        display: inline-block;
        height: 100%;
        width: 33px;
        float: left;
        @include image('arrow-white.png');
        background-color: #03a83e;
        background-size: 12px 12px;
        background-position: center center;
    }
}
.join.hover{
    background: #ccc;
    text-shadow: 0px 1px 0px #fff;
}
.Slide.empty{
    background:#eee url(../images/default.png) no-repeat center center !important;
    background-size: 99px!important;
}
#Home{
    .pagination{
        z-index: 999999;
        position: absolute;
        bottom: 17px;
        height: 11px;
        left: 11px;
        right: 11px;
        text-align: center;
        margin: auto;
        width: 138px;
        .swiper-nav{
            text-align:center;
            .swiper-wrapper{
                display: inline-block;
            }
            .swiper-slide{
                span{
                    display: inline-block;
                    width: 11px;
                    height: 11px;
                    border-radius: 10px;
                    background: rgba(255, 255, 255, 0.6);
                    margin-left: 7px;
                    box-shadow: 0px 0px 1px rgba(0,0,0,.1);
                }
            }
            .swiper-slide:first-child{
                span{
                    margin-left: 0px;
                }
            }
            .swiper-slide.active-nav span{
                background: rgba(255,255,255,1);
            }
        } 
    }
}
.btnFollow{
    width: 57px;
    height: 60px;
    background: url("../images/check_1.png") no-repeat center center;
    background-size: 37px 40px!important;
    position: absolute;
    top: 10px;
    right: 10px;
}
.btnFollow.hover{
    opacity:.6;
}
.btnFollow.followed{
    background: url("../images/check_2.png") no-repeat center center;
}

.UI_PopupPanel.hide{
    z-index: -1;
    opacity: 0;
}

.Preload{
    width: 33px;
    height: 33px !important;
    position: absolute;
    top: 24px;
    right: 23px;
    display: none;
    .Preload_inner{
        position: relative;
        width: 100%;
        height: 100%;
    }
}
.ListView{
    .Preload{
        top: 13px;
        right: 13px;
    }
}
.btnFollow.active{
    display: none;
}

.RefreshSlider{
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 32px;
    right: 0px;
    z-index: 9999;
    padding: 10px;
    div{
        font-size: 18px;
        color: #010196;
        background: rgba(255, 255, 255, 0.6);
        text-align: center;
        width: 30px;
        height: 30px;
        border-radius: 30px;
        border: 1px solid #fff;
        span{
            @include transition(.4s);
            margin-top: 5px;
        }
    }
}
.RefreshSlider.hover{
    div{
        background: rgba(255, 255, 255, 0.3);
        span{
            opacity: .7;
            /*            @include rotate(180deg);*/
        }
    }
}
.RefreshSlider.loading{
    span{
        -webkit-animation-name:loading;
        -webkit-animation-duration:1s;
        -webkit-animation-timing-function: linear;
        -webkit-animation-iteration-count:infinite;
        -webkit-animation-direction:normal;

        animation-name:loading;
        animation-duration:1s;
        animation-timing-function: linear;
        animation-iteration-count:infinite;
        animation-direction:normal;
    }
    a{
        
    }
}

@import 'media';